package com.desay.pangoo.itmt.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.desay.pangoo.itmt.entity.BUDivEntity;

/**
 * @author uidq1163
 */
@Repository
public interface BUDivRepository
		extends JpaSpecificationExecutor<BUDivEntity>, PagingAndSortingRepository<BUDivEntity, Long> {

	/**
	 * 查询产品平台是否存在
	 * 
	 * @param productPlatform
	 * @return
	 */
	BUDivEntity findByBu(String bu);
}